#define _CRT_SECURE_NO_WARNINGS

//#include<stdio.h>
//#include <stddef.h>
//
////#define MY_offsetof(type , member) (size_t)(&(*(type*)0.member))
//
//#define MY_offsetof(type , member) (size_t)(&(((type*)0)->member))
//
//struct s
//{
//	char a;
//	int b;
//	char c;
//}*x;
//
//
//int main()
//{
//	printf("%d\n", (int)MY_offsetof(struct s, a));
//	printf("%d\n", (int)MY_offsetof(struct s, b));
//	printf("%d\n", (int)MY_offsetof(struct s, c));
//	
//	//printf("%d\n", (int)offsetof(struct s, a));
//
//
//	return 0;
//}
//
